package com.sy.service;

import com.sy.entity.Subject;

import java.util.List;

/**
 * description: SubjectService <br>
 * date: 2022/6/28 3:20 PM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */
public interface SubjectService {
    /**
     * 查询所有课程
     */

    List<Subject> selectAllSubject();

    /**
     * 根据课程id查询课程
     * @param subjectId
     * @return
     */
    Subject getSubjectById(Integer subjectId);
}
